package com.gym.myshop.dao;

import com.gym.myshop.entity.Orders;

import java.lang.reflect.InvocationTargetException;
import java.sql.SQLException;
import java.util.List;

/**
 * @author ming
 * 2021/11/8
 * description:订单
 */
public interface OrderDao {

    //生成订单
    int addOrder(Orders o) throws SQLException;
    //获取订单列表信息
    List<Orders> getOrderList(int uid) throws SQLException, InvocationTargetException, IllegalAccessException;

}
